package org.itboys.baseobject.entity;

import org.itboys.admin.entity.BaseAdminEntity;

import org.mongodb.morphia.annotations.Entity;
/**
 * 开通的城市
 * @author 
 *
 */
@Entity(value = "OpenedCity", noClassnameStored = true)
public class OpenedCity extends BaseAdminEntity{

	private long cityId;
	private String name;
	private long districtId; //冗余的区ID
	private String districtName;//冗余的地区名称
	private long provinceId;//冗余的省ID
	private String provinceName;//冗余的省名称
	private long openTime;//开通时间
	private long closedTime;//关闭时间
	private int status;//1:开通 0:关闭
	public long getCityId() {
		return cityId;
	}
	public void setCityId(long cityId) {
		this.cityId = cityId;
	}
	public long getOpenTime() {
		return openTime;
	}
	public void setOpenTime(long openTime) {
		this.openTime = openTime;
	}
	public long getClosedTime() {
		return closedTime;
	}
	public void setClosedTime(long closedTime) {
		this.closedTime = closedTime;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	
}
